module Node.Stream.Helper.Split2 where

import Effect (Effect)
import Node.Buffer (Buffer)
import Node.Stream (Duplex)
import Node.StreamEx.Types as ST

foreign import split2 ::Effect Duplex

foreign import split2EX::Effect (ST.Duplex Buffer)